package 接口;

public class  Tank extends Vehiche implements IWeapon,IMaintain {
    @Override
    public void attack() {
        System.out.println("Tank attack");
    }

    @Override
    public void defense() {
        System.out.println("tank defense");

    }

    public static void main(String[] args) {
        Tank tank = new Tank();
        tank.attack();
        tank.Start();
        tank.repairMechine();

    }

    @Override
    public void repairMechine() {

    }
}
